package com.whfc.iot.fse.lift.codec;

import com.whfc.iot.fse.lift.entity.LiftMsg;
import io.netty.buffer.ByteBuf;

/**
 * 升降机硬件数据位-编解码
 *
 * @author guodong_sun
 */
public interface LiftMsgDataCodec<T extends LiftMsg> {

    /**
     * 解码
     *
     * @param buf
     * @param msg
     */
    void decode(ByteBuf buf, T msg);
}
